﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.ProductionDomain
{
    /// <summary>
    /// 补料产品关联表
    /// </summary>
    [SugarTable("FeedProduct")]
    public class FeedProduct: Audit
    {
        /// <summary>
        /// 补料产品id
        /// </summary>
        [SugarColumn(IsIdentity =true,IsPrimaryKey =true)]//主键自增
        public int FeedProductId { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 补料编号
        /// </summary>
        public string? FeNumber { get; set; }
        /// <summary>
        /// 补料数量
        /// </summary>
        public int FePNum { get; set; }
        /// <summary>
        /// 人员档案id
        /// </summary>
        public int ManpowerId { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime ?FePDeliveryDate { get; set; }
    }
}
